﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using BL;
using BL.Entities;

namespace EF
{
    public class FSDBContext : DbContext
    {
        // Connection with Base
        //WebConfig contains our connection string!!!
        public FSDBContext(string connectionString)
        {
            //Set connection string
            Database.Connection.ConnectionString = connectionString;

        }

        //Collection for FileSystem Entities
        //public DbSet<FileSystemEntite> FileSystemEntities { get; set; }
        public DbSet<File> File{ get; set; }
        public DbSet<Folder> Folder{ get; set; }


        public DbSet<UserProfile> UserProfile { get; set; }

    }
}
